home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000…tember: Reference Library / Dev.CD Sep 00 RL Disk 1.toast / mac / Technical Documentation / Develop / develop Issue 28 / develop Issue 28 code / Merge Tools / WinMergeTest.bat < prev    next >
Encoding:
DOS Batch File  |  1996-10-04  |  1.4 KB  |  44 lines  |  [TEXT/MPS ]

  1. @rem
  2. @rem
  3. @rem Copyright (c) 1991-1996 Eclectus (D. John Anderson, Alan B. Harper).
  4. @rem
  5. @rem WinMergeTest.bat
  6. @rem
  7.  
  8. @echo ***********************
  9. @echo ** DEBUG MERGE TESTS **
  10. @echo ***********************
  11.  
  12. @SET DERIVED_DIR=MergeD.i
  13.  
  14. @echo on
  15. %DERIVED_DIR%\Merge -x -X testfile0 testfile1 testfile2 testfile3 testfile4 %DERIVED_DIR%\testfile.out
  16. FC /L %DERIVED_DIR%\!testfile.out testfile.merge
  17. rm -rf %DERIVED_DIR%\testd.out
  18. %DERIVED_DIR%\Merge -x -X testd0 testd1 testd2 testd3 testd4 %DERIVED_DIR%\testd.out
  19. Difference %DERIVED_DIR%\testd.out testd.win.merge >%DERIVED_DIR%\testd.check
  20. @echo off
  21. if ERRORLEVEL==1 echo **************************
  22. if ERRORLEVEL==1 echo ** DEBUG MERGE FAILURE! **
  23. if ERRORLEVEL==1 echo **************************
  24. if ERRORLEVEL==1 goto End
  25.  
  26. @echo *************************
  27. @echo ** RELEASE MERGE TESTS **
  28. @echo *************************
  29.  
  30. @SET DERIVED_DIR=MergeR.i
  31.  
  32. @echo on
  33. %DERIVED_DIR%\Merge testfile0 testfile1 testfile2 testfile3 testfile4 %DERIVED_DIR%\testfile.out
  34. FC /L %DERIVED_DIR%\!testfile.out testfile.merge
  35. rm -rf %DERIVED_DIR%\testd.out
  36. %DERIVED_DIR%\Merge testd0 testd1 testd2 testd3 testd4 %DERIVED_DIR%\testd.out
  37. Difference %DERIVED_DIR%\testd.out testd.win.merge >%DERIVED_DIR%\testd.check
  38. @echo off
  39. if ERRORLEVEL==1 echo ****************************
  40. if ERRORLEVEL==1 echo ** RELEASE MERGE FAILURE! **
  41. if ERRORLEVEL==1 echo ****************************
  42. if ERRORLEVEL==1 goto End
  43.  
  44. :End